package com.lh0811.forge.dependency.security.core.model.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

/**
 * @author lh0811
 * @date 2021/5/7
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class SecurityRole implements Serializable {

    @Schema(description = "角色id")
    private Long roleId;

    @Schema(description = "角色编号")
    private String roleNo;

    @Schema(description = "角色名称")
    private String name;

    @Schema(description = "资源列表")
    private List<SecurityRes> resList;

}
